package com.huangwenshuo.futurestarschoolmanagement.service;

import com.huangwenshuo.futurestarschoolmanagement.pojo.po.RolesPo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huangwenshuo.futurestarschoolmanagement.pojo.vo.RolesVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huangwenshuo
 * @since 2020-12-26
 */
public interface RolesService extends IService<RolesPo> {

    void addRole(Integer uid, String role);

    void addUserRole(Integer uid, Integer rid);

    List<RolesVo> getRoles(int page, int rows);

    RolesVo getRolesInfo(Integer rid,int page,int rows);
}
